package com.nf.action;


import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.interceptor.MethodFilterInterceptor;

public class MeetIntercepter extends MethodFilterInterceptor {

    protected String doIntercept(ActionInvocation actionInvocation) throws Exception {
        System.out.println("化妆...");
        //actionInvocation.getInvocationContext().getParameters().put("face","第2个女朋友");
        actionInvocation.getStack().setValue("face","第2个女朋友的样子");
        String s = actionInvocation.invoke();
        System.out.println("卸妆");
        return s;
    }
}
